#ifndef KINECT_GAME_LOGIC_H_
#define KINECT_GAME_LOGIC_H_


#include "gamelogic.h"
#include "KinectWinMgr.h"

//class KinectWinMgr;

class KinectGameLogic : public GameLogic
{
public:
	KinectGameLogic(NUI_IMAGE_RESOLUTION _colorResolution = NUI_IMAGE_RESOLUTION_640x480, 
		NUI_IMAGE_RESOLUTION _depthResolution = NUI_IMAGE_RESOLUTION_640x480,
		int _outputTexResX = 640, int _outputTexResY = 480);
	virtual ~KinectGameLogic();

	void Init();
	void Update(float _elapseTime);
	void Render();

protected:
	bool InitKinect();
	KinectWinMgr* mKinectMgr;
	int mKinTexWidth;
	int mKinTexHeight;
	NUI_IMAGE_RESOLUTION mKinColorRes;
	NUI_IMAGE_RESOLUTION mKinDepthRes;
};


#endif // KINECT_GAME_LOGIC_H_